<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<button id="test">MyLayer 封装测试</button>
		
		<script src="js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
		<script src="layer/layer.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/mylayer.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			layer.ready(function() {
				
			});
			
			$("#test").on("click", function() {
				//mylayer.alert("这是一个严重的警告！！")
				//mylayer.confirm("您确认要删除么？", "http://www.baidu.com");
				//mylayer.okMsg("删除成功");
				// mylayer.errorMsg("删除失败");
				mylayer.okUrl("删除成功", "http://www.baidu.com")
			});
		</script>
	</body>
</html>
